﻿using System;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Collections.Generic;
using System.Reflection;
namespace BLL
{
	 	//SF_img_info
		public static class SF_img_info
	{	
	    private static Data.SF_img_info Data_SF_img_info = new Data.SF_img_info();	
		
		/// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static long Add(Model.SF_img_info model)
        {
              return Data_SF_img_info.Add(model);
        }
         /// <summary>
        /// 修改
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static int Update(Model.SF_img_info model)
        {
            return Data_SF_img_info.Update(model);
        }
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public static bool Delete(long Id)
        {
            return Data_SF_img_info.Delete(Id);
        }       
        /// <summary>
        /// 单条
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public static Model.SF_img_info GetModel(long Id)
        {
             return Data_SF_img_info.GetModel(Id);
        }
        /// <summary>
        /// 总数据数
        /// </summary>
        /// <returns></returns>
        public static int GetAll_Count()
        {
            return Data_SF_img_info.GetAll_Count();
        }        
        /// <summary>
        /// 抽取分页数据
        /// </summary>
        public static List<Model.SF_img_info> GetPageList_Where(int pageIndex, int pageSize,long classid,out int totalCount)
        {
            return Data_SF_img_info.GetPageList_Where(pageIndex, pageSize, classid, out totalCount);
        }
        /// <summary>
        /// 批删
        /// </summary>
        /// <param name="Ids"></param>
        /// <returns></returns>
        public static int Drop(string Ids)
        {
            return Data_SF_img_info.Drop(Ids);
        }
	}
}